$OpenBSD: patch-src_test_lib_json_main_cpp,v 1.3 2015/07/15 15:41:34 dcoppa Exp $
--- src/test_lib_json/main.cpp.orig	Sun Jul 12 22:02:28 2015
+++ src/test_lib_json/main.cpp	Wed Jul 15 16:52:10 2015
@@ -298,7 +298,7 @@ JSONTEST_FIXTURE(ValueTest, null) {
 
 #if !defined(__ARMEL__)
   // See line #165 of include/json/value.h
-  JSONTEST_ASSERT_EQUAL(Json::Value::null, null_);
+  JSONTEST_ASSERT_EQUAL(Json::Value::nullRef, null_);
 #endif
 }
 
@@ -1257,7 +1257,7 @@ JSONTEST_FIXTURE(ValueTest, nonIntegers) {
 
   // A 16-digit floating point number.
   val = Json::Value(2199023255552000.0f);
-  JSONTEST_ASSERT_EQUAL(float(2199023255552000), val.asFloat());
+  JSONTEST_ASSERT_EQUAL(float(2199023255552000LL), val.asFloat());
   JSONTEST_ASSERT_STRING_EQUAL("2199023255552000",
                                normalizeFloatingPointStr(val.asString()));
 
